<template>
  <div id="app">
    <layout-header class='layoutheader'></layout-header>
    <router-view></router-view>
    <layout-footer class='layoutfooter'></layout-footer>
  </div>
</template>

<script>
// import layout from './pages/layout'
import layoutHeader from './components/layout/Header'
import layoutFooter from './components/layout/Footer'
export default {
  name: 'App',
  components: {
    layoutHeader,layoutFooter
  }
}
</script>

<style>
#app {
  font-family: '微软雅黑';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  /* margin-top: 60px; */
  height:100%;
  width:100%;
  background-color: lightgreen
}

 html,body {
  height:100%;
  width:100%;
  border:hidden;
  overflow:hidden;
  margin: 0
}
div{
  margin: 0;
  padding: 0;
}
/* 设置头像 div 里面的图片占满整个div*/
.divHeadIcon img{
  border-radius: 50%;
  width: 100%;
  height: 100%;
}
ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
.layoutheader{
width: 100%;
height: 60px;
}
.layoutfooter{
width: 100%;
height: 60px;
}
</style>
